//
//  STUserAccountVM.h
//  OCVVeibo
//
//  Created by leergou on 16/7/23.
//  Copyright © 2016年 WhiteHouse. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "STUserAccountDTO.h"

@interface STUserAccountVM : NSObject

/** 记录是否登录 */
@property (nonatomic,assign) BOOL isLogin;

/** userAccountDTO */
@property (nonatomic,strong) STUserAccountDTO *userAccountDTO;

/** accessToken */
@property (nonatomic,copy) NSString *accessToken;


/** 全局访问点 */
+ (instancetype)sharedUserAccountTools;


- (void)loadUserAccountDataWithCode:(NSString *)code isSuccess:(void(^)(BOOL isSuccess))isSuccess;

@end
